package com.ruoyi.ylyx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户游戏账户对象 ylyx_gameaccount
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public class YlyxGameaccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 游戏ID */
    @Excel(name = "游戏ID")
    private String gameId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Integer accountBalance;

    private String userAccount;

    private String gameName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setGameId(String gameId) 
    {
        this.gameId = gameId;
    }

    public String getGameId() 
    {
        return gameId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setAccountBalance(Integer accountBalance) 
    {
        this.accountBalance = accountBalance;
    }

    public Integer getAccountBalance() 
    {
        return accountBalance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameId", getGameId())
            .append("userId", getUserId())
            .append("accountBalance", getAccountBalance())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }
}
